package vip.meeet.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class DubboConfigBean {
	
	@Value("${dubbo.protocol}")
	private String protocol;

	@Value("${dubbo.registry.address}")
	private String registryAddress;

	@Value("${dubbo.protocol}")
	private String protocolName;

	@Value("${dubbo.port}")
	private String protocolPort;

	@Override
	public String toString() {
		return "DubboConfigBean [protocol=" + protocol + ", registryAddress=" + registryAddress + ", protocolName="
				+ protocolName + ", protocolPort=" + protocolPort + "]";
	}
	
}
